﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Login/Login.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="IOWeb.Admin.Login1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <center>
    <table width="400px">
        <tr>
            <td width="30%">
            </td>
            <td align="left">
                <asp:Label ID="lblMessage" runat="server" 
                        style="color: #FF0000; font-style: italic"></asp:Label>
                </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label1" runat="server" Text="Tên đăng nhập"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtUserName" runat="server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label2" runat="server" Text="Mật khẩu"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                    &nbsp;</td>
            <td align="left">
                <asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click" 
                        Text="Đăng nhập" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtUserName" Display="None" 
                        ErrorMessage="Tên đăng  nhập không được rỗng"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPassword" Display="None" 
                        ErrorMessage="Mật khẩu không được rỗng"></asp:RequiredFieldValidator>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                        style="color: #FF0000; font-style: italic" />
                <br />
            </td>
        </tr>
    </table>
    </center>
</asp:Content>
